Fully Qualified Name: | Zend\Code\Scanner\FileScanner |
Extends: | TokenArrayScanner |
Implements: | ScannerInterface |
Name | Description | Defined By |
---|---|---|
__construct() | FileScanner | |
__toString() | TokenArrayScanner | |
export() | Export | TokenArrayScanner |
getAnnotationManager() | TokenArrayScanner | |
getClass() | Return the class object from this scanner | TokenArrayScanner |
getClassNameInformation() | TokenArrayScanner | |
getClassNames() | TokenArrayScanner | |
getClasses() | TokenArrayScanner | |
getDocComment() | Get doc comment | TokenArrayScanner |
getFile() | FileScanner | |
getFunctionNames() | TokenArrayScanner | |
getFunctions() | TokenArrayScanner | |
getIncludes() | TokenArrayScanner | |
getNamespaces() | TokenArrayScanner | |
getUses() | TokenArrayScanner | |
hasNamespace() | Check for namespace | TokenArrayScanner |
Parameter Name | Type | Description |
---|---|---|
$file | string | |
$annotationManager | null|\AnnotationManager |
Returns:
Returns: void
Export
Parameter Name | Type | Description |
---|---|---|
$tokens | ||
$tokens |
Returns:
Returns: \AnnotationManager
Return the class object from this scanner
Parameter Name | Type | Description |
---|---|---|
$name | string|int |
Returns: \ClassScanner
Parameter Name | Type | Description |
---|---|---|
$className | string |
Returns: bool|null|\NameInformation
Returns: array
Returns: \ClassScanner[]
Get doc comment
Returns: string
Returns: string
Returns: array
Returns: array
Returns: array
Returns: array
Parameter Name | Type | Description |
---|---|---|
$namespace | null|string |
Returns: array|null
Check for namespace
Parameter Name | Type | Description |
---|---|---|
$namespace | string |
Returns: bool